import ConfigParser

config = ConfigParser.ConfigParser()
config.readfp(open("configure.ini","rb"))
ip = config.get("global","ip")
port = config.get("global","port")


def get_ip():
    return ip

def get_port():
    return port
